<template>
  <div class="page">
    <div class="title">客户移交</div>
    <div class="stepContent">
      <VxStep :stepList="stepList" :current="current" />
    </div>
    <div class="content">
      <div class="successBox">
        <div>
          <img src="@/assets/image/customManager/success.png" alt="" class="success" />
          <div class="tooltip">客户移交完成</div>
        </div>
      </div>
      <div class="footer">
        <div class="buttonBox">
          <ui-button class="default-btn" @click="back">返回</ui-button>
          <ui-button class="primary-btn" @click="compelete">完成</ui-button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import VxStep from '@/components/vx-step';
export default {
  name: '',
  components: {
    VxStep,
  },
  data() {
    return {
      stepList: ['客户移交录入', '客户移交确认', '客户移交结果'],
      current: 2,
    };
  },
  methods: {
    back() {
      this.$router.push('/customManager/myCustom');
    },
    compelete() {
      this.$router.push('/customManager/myCustom');
    },
  },
};
</script>

<style lang="scss" scoped>
.page {
  .title {
    font-size: 18px;
    color: #000;
    font-weight: bold;
  }
  .stepContent {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
  }
  .content {
    padding: 16px;
    margin-top: 28px;
    background: #fff;
    //
    .successBox {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 60px;
      .success {
        width: 107px;
        height: 88px;
      }
      .tooltip {
        font-size: 18px;
        color: #262626;
        font-weight: bold;
        margin-top: 41px;
      }
    }
    .footer {
      background: #fff;
      padding: 20px;
      margin-top: 40px;
      .buttonBox {
        border-top: 1px solid #ccc;
        padding: 20px 10px 0 10px;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
  }
}
</style>